package com.bjzsly.star3.xzb.utils;

import android.os.Environment;

import java.io.File;

/**
 * Created by Administrator on 2016/11/18 0018.
 */
public interface ConstanceValue {
    String  NiCheng = "nicheng";
    String DATA = "News";
    public static final String EXTRA_BUNDLE = "launchBundle";
    String ARTICLE_GENRE_ARTICLE_IMG = "3";//纯图 文章类型
    String ARTICLE_GENRE_ARTICLE_TXT = "2";//纯文 文章类型
    String ARTICLE_GENRE_ARTICLE_T_IMG = "1";//文图 文章类型

    int NUMS_ONE = 1;//单张
    int NUMS_THREE = 3;//3张

    String TITLE = "title";
    String CONTENT = "content";
    String CID = "cid";
    String ID = "id";
    String URL = "url";
    String SP_THEME = "theme";
    int THEME_LIGHT = 1;
    int THEME_NIGHT = 2;
    /**
     * 修改主题
     */
    int MSG_TYPE_CHANGE_THEME = 100;

    String AVATAR = "img_avatar";
    String IMG_DIR = new File(Environment.getExternalStorageDirectory() + "/camera_photos").getPath();
    String IMG_TEMP_DIR = new File(Environment.getExternalStorageDirectory() + "/xdTemp").getPath();


    String ALLOW_VOICE = "allow_voice";

    int LOGIN_MOBILE_RESULT_REQ = 0x300;
    int REGISTER_MOBILE_RESULT_REQ = 0x301;
    int VERTIFY_MOBILE_RESULT_REQ = 0X302;
    int REGISTER_WX_RESULT_REQ = 0X303;
    String VERTIFY_TOKEN = "vertify_token";
    String VERTIFY_MOBILE = "vertify_mobile";

    String AUTH_OPENID = "auth_openid";
    String AUTH_NAME = "auth_name";
    String AUTH_HEAD_IMG = "auth_headImg";
    String AUTH_LOGIN_TYPE = "auth_login_type";

    int TYPE_LOGIN_WX = 0;
    int TYPE_LOGIN_QQ = 1;

    String QQ_BROWSER_PKG = "com.tencent.mtt";
    String QQ_BROWSER_MAIN = "com.tencent.mtt.MainActivity";

    String META_CHANNEL_VALUE = "APP_CHANNEL";
    String META_SHARE_CALL_HOST = "SHARE_CALL_HOST";
    String META_SHARE_SCHEME = "SHARE_SCHEME";

    String ACTIVITY_SCHEME = "scheme";
    String ACTIVITY_HOST = "host";


}
